var TWEEN = require('third_party/tweenjs/tween.js');

exports.getTextures = function () {
    return require('res/texture.js');
};
exports.setupCamera = function (camera) {
    camera.lookAt([0, 0, 10], [0, 0, 0], [0, 1, 0]).ortho(0, 1, 0, 1, 9, 11);
};
exports.createScreenAdapter = function (camera) {
    return new (require('render/screenadapter.js').FixWidthAdapter)(camera, 480);
};
exports.recoverFromLostContext = function (context) {
    require('scenes/game/cellcommon.js').recoverFromLostContext(context);
};
exports.customizeSetup = function (global) {
    global.scheduleUpdate(TWEEN);// bind tweenTask
    require('scenes/game/cellcommon.js').load(global);
};

exports.debug = false;
